package polymorphic;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Person
 * Package: polymorphic
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-22
 * Time: 18:08
 */

public class Person {

    String name;
    int age;

    public void eat() {
        System.out.println("人吃饭");
    }

    public void walk() {
        System.out.println("人走路");
    }

}
